package mest.VO.cxj;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class WarehouseSaveManytomanyRecordVO {

    //主键
    private Integer id;

    //库存Id
    private Integer wsmId;

    //修改的数量
    private Integer number;

    //存货名称
    private  String commName;

    //操作人名称
    private String userName;

    //操作人时间,默认新增时间
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    //假删字段，默认为0,删除时为1
    private Integer isDelete;

    //出入库判断，入库,出库
    private String status;

    //备注
    private String description;
}
